package com.igeekhome.ccs.biz.impl;

import com.igeekhome.ccs.biz.IAccessBiz;
import com.igeekhome.ccs.entity.Access;
import com.igeekhome.ccs.mapper.AccessMapper;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public class AccessBizImpl implements IAccessBiz {
    @Autowired
    AccessMapper am;
    @Override
    public Access getAccessInfoByIp(String ip) {

        return am.getAccessInfoByIp(ip);
    }

    @Override
    public List<Access> getAllAcess() {

        return am.getAllAcess();
    }
}
